﻿// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
// Licensed under the LGPL License, Version 3.0. See License.txt in the project root for license information.
// Website: https://admin.blazor.zone

namespace BlazorAdmin.Interface
{
    /// <summary>
    /// 登录服务
    /// </summary>
    public interface ILogin
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="userName"></param>
        /// <param name="IP"></param>
        /// <param name="OS"></param>
        /// <param name="browser"></param>
        /// <param name="address"></param>
        /// <param name="userAgent"></param>
        /// <param name="result"></param>
        /// <returns></returns>
        bool Log(string userName, string IP, string OS, string browser, string address, string userAgent, bool result);
    }
}